package com.exp.collection;

import java.util.ArrayList;
import java.util.List;

public class FindColorCollection {
	public static void main(String[] args) {
		List<String> color = new ArrayList<String>();
		String s = "Blue";
		color.add("Red");
		color.add("Black");
		color.add("Pink");
		color.add("Green");
		color.add("Blue");
		System.out.println("Size of the List");
		System.out.println(color.size());
		System.out.println(color.contains(s));
		System.out.println("Removing one color");
		System.out.println(color.remove(2));
		System.out.println("After Removing color");
		System.out.println(color.size());
		System.out.println(color.contains("Pink"));
	
			System.out.println(color);
		
		
	}

}
